package com.blackhorse.service;


import com.blackhorse.dao.AccountDao;

public class AccountServiceImplXML implements AccountService {
    private AccountDao accountDao;

    //使用Spring依赖注入解耦
    public AccountDao getAccountDao() {
        return accountDao;
    }
    //使用Spring依赖注入解耦
    public void setAccountDao(AccountDao accountDao) {
        this.accountDao = accountDao;
    }

    @Override
    public void saveAccount() {
        accountDao.saveAccount();
    }
}
